package com.jk.customer.service;

import com.jk.customer.entity.TreeEntity;
import com.jk.customer.entity.UserEntity;

import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;

public interface TreeService {
    /**
     * 树列表查询
     * @param pid
     * @param session
     * @return
     */
    List<TreeEntity> getTree(Integer pid, HttpSession session);

    /**
     * 登录
     * @param user
     * @param session
     * @return
     */
    Map<String,Object> login(UserEntity user, HttpSession session);

    Map<String, Object> registerUser(UserEntity user);

    Map<String, Object> addUserInfo(UserEntity user);
}
